﻿@model ConsoleApplication2.Models.Event

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<style>

    form * {
        margin: 0;
        padding: 0;
    }
    /* Standard margin and padding reset, normally done on the body */

    legend {
        color: #000; /* IE styles legends with blue text by default */
        *margin-left: -7px; /* A hack that only ie reads to position the legend in the same place cross browser */
    }

    fieldset {
        border: 1px solid #dedede; /* Default fieldset borders vary cross browser, so make them the same */
    }

        fieldset div {
            overflow: hidden; /* Contain the floating elements */
            display: inline-block; /* Give layout in ie to contain float */
        }

        fieldset div {
            display: block;
        }
    /* Reset element back to block leaving layout in ie */
    label {
        float: left; /* Take out of flow so the input starts at the same height */
        width: 5em; /* Set a width so the inputs line up */
    }

    .radio {
        position: relative; /* Position so children are relative to this container */
        border: 0; /* Remove the border */
    }

        .radio span {
            position: absolute; /* Take the content of the legend out of flow */
            top: 0;
            left: 0; /* and position it to the top left of the fieldset */
            width: 5em; /* Same width as labels */
        }

        .radio ul {
            margin-left: 5em; /* Since the legend is out of flow. set margin, so inputs are inline */
            list-style: none; /* Dont want bullets */
        }

        .radio li {
            position: relative; /* Fix a bug in IE zoom functionality */
            display: inline; /* Display the inputs in a line */
            white-space: nowrap; /* We dont want a label to wrap between the input and label */
        }

        .radio label, .radio input {
            width: auto; /* Reset the width on the label from the 5em, set earlier */
            float: none; /* Reset the float from left on the label, set earlier */
            vertical-align: middle; /* Align the radio buttons with the inputs */
        }



</style>
<body>
    @using (Html.BeginForm("Save", "BasicScheduler", new { id = "BasicScheduler" }))
    {   

        <div>
       
            @Html.TextAreaFor(m=>m.text,  5, 42, null)
        </div>   
         <div>
            
             @ViewBag.doctorName
           <input type="hidden" id="docID" name="docID" value="@Model.docID" />
             <input type="hidden" id="roomID" name="roomID" value="@Model.roomID" />
             <input type="hidden" id="id" name="id" value="@Model.id" />
        </div>    
                 <div>
           <input type="text" id="patID" name="patID" value="@Model.patID" />
        </div>     
        <div>

            @Html.DropDownList("color");
        </div>
        <div>
            From
            @Html.TextBoxFor(m=>m.start_date)
            To
            @Html.TextBoxFor(m=>m.end_date)
        </div>
       
        <p>
            <input type="submit" name="actionButton" value="Save" />
            <input type="button" onclick="lightbox.close()/* helper-method, only available in custom lightbox */" value="Close" />
            <input type="submit" name="actionButton" value="Delete" />
        </p>
       
    }
</body>
</html>